﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MovieStorage;

namespace DVDFilmoteka.Forms
{
    public partial class FindDuplicity : Form
    {
        private readonly List<MovieDataStore12> duplicity;

        public FindDuplicity(List<MovieDataStore12> duplicity)
        {
            InitializeComponent();

            this.duplicity = duplicity;
        }

        private void FindDuplicity_Load(object sender, EventArgs e)
        {
            foreach (MovieDataStore12 item in duplicity)
            {
                listBox1.Items.Add(item.czechName);
            }
        }
    }
}
